﻿using GrainManage.Encrypt;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GrainManage.Web.Common
{
    public class DesCrypto
    {
        public static string Encrypt(string sInputString, string key = "")
        {
            return DESEncrypt.Encrypt(sInputString,key);
        }

        public static string Decrypt(string sInputString,string key="")
        {
            return DESEncrypt.Encrypt(sInputString,key);
        }
    }
}